package com.xjz.esdao;

import com.xjz.model.dto.post.PostEsDTO;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * ClassName: PostEsDao
 * Package: com.xjz.esdao
 * Description:
 *  ES操作帖子
 * @Author 许小健
 * @Create 2025/8/2 15:26
 * @Version 1.0
 */

public interface PostEsDao extends ElasticsearchRepository<PostEsDTO,Long> {

    List<PostEsDTO> findByUserId(Long userId);
}
